package com.example.state.machine.entity;

import com.example.state.machine.enums.OrderState;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 模拟订单类
 */
@Getter
@Setter
public class Order {
    private Long orderId;
    private String orderNumber;   // 订单号
    private BigDecimal amount;    // 订单金额
    private OrderState state;     // 订单状态
    private String description;
    private Long productId;
}
